package pers.lance.firstmvc.pojo;

import org.springframework.stereotype.Component;

/**
 * @ Author     ：LILA3
 * @ Date       ：Created in 4:36 PM 7/24/2018
 */
@Component
public class User {
    private String name;
    private String password;
    private int age;

    public User() {
        System.out.println(User.class.getName());
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
